<%--
  Created by IntelliJ IDEA.
  User: evans
  Date: 2018/3/15
  Time: 下午2:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<script>
    var c_start=document.cookie.indexOf("userInfo=");
    if (c_start==-1){
        document.write('<div class="navbar-fixed"><nav class="white"><div class="nav-wrapper"><img src="images/soico.svg" />' +
            '<a class="headerLogo left" href="/">SOICO.CO</a>' +
            '<ul class="HeaderRight" style="font-size: 0.7em;"><li><a class="menuItem" href="news.jsp">最新公告</a></li>' +
            '<li><a class="menuItem" href="slottingRequestSkip"><span>发布项目</span></a></li><li><a href="projectsSkip"><span>浏览项目</span></a></li>' +
            '<li><a href="signin2Skip" ><span>登录</span></a href="signin2Skip"></li><li class="headerSignup"><a href="signupSkip"><span>注册</span></a></li>' +
            '</ul></div></nav></div>');
    }else {
        document.write('<div class="navbar-fixed"><nav class="white"><div class="nav-wrapper"><img src="images/soico.svg" />' +
            '<a class="headerLogo left" href="/">SOICO.CO</a>' +
            '<ul class="HeaderRight" style="font-size: 0.7em;"><li><a class="menuItem" href="news.jsp">最新公告</a></li>' +
            '<li><a class="menuItem" href="slottingRequestSkip"><span>发布项目</span></a></li>' +
            '<li><a href="projectsSkip"><span>浏览项目</span></a></li>' +
            '<li><a id="personalPage" class="menuItem dropdown-button"><span>个人主页</span></a></li>' +
            '<li><a class="menuItem dropdown-button exitUser" href="javascript:;"><span>退出</span></a></li>' +
            '</ul></div></nav></div>');
    }
</script>